/*
 * repeat.c - 带参数的main()
 *
 */

#include <stdio.h>
int main(int argc, char * argv[])
{
    int count;
    printf("The command line has %d arguments:\n", argc-1);
    for (count = 0; count < argc; count++) {
        printf("%d: %s\n", count, argv[count]);
    }
    printf("\n");
    return 0;
}
